package cn.csc.module.system.controller.app.ip.vo;

import cn.csc.framework.ip.core.enums.AreaTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@ApiModel("用户 App - 地区节点 Response VO")
@Data
public class AppAreaNodeRespVO {

    @ApiModelProperty(value = "编号", required = true, example = "110000")
    private Integer id;

    @ApiModelProperty(value = "名字", required = true, example = "名字")
    private String name;
    @ApiModelProperty(value = "类型枚举 {@link AreaTypeEnum}", required = true, example = "枚举 {@link AreaTypeEnum}")
    private Integer type;
    /**
     * 子节点
     */
    private List<AppAreaNodeRespVO> children;

}
